﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="NovaTurma.aspx.cs" Inherits="SistemaAcademico.Pages.NovaTurma" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="Form1" runat="server">
        <h1 class="page-title">
            <i class="icon-pushpin"></i>Cadastro de Cursos/Aulas
        </h1>
        <div id="Div1" runat="server" class="widget">
            <div class="widget-header">
                <h3>Cadastro de nova turma</h3>
            </div>
            <div id="Div2" runat="server" class="widget-content form-horizontal">
                <fieldset id="Fieldset1" runat="server">
                    <p class="help-block">
                        Todos campos com * são obrigatórios
                    </p>
                    <h3>-Informações</h3>
                    <div class="control-group">
                        <label class="control-label" for="txtNomeCompleto">
                            Curso*</label>
                        <div class="controls">
                            <asp:DropDownList ID="ddlCurso" runat="server" DataSourceID="SqlDtSrcCurso" DataTextField="nmCurso" DataValueField="Id"></asp:DropDownList>
                            <asp:SqlDataSource ID="SqlDtSrcCurso" runat="server" ConnectionString="<%$ ConnectionStrings:SATCCConnectionString %>" SelectCommand="SELECT [Id], [nmCurso] FROM [CursoSet] ORDER BY [nmCurso]"></asp:SqlDataSource>
                        </div>
                        <!-- /controls -->
                    </div>

                    <div class="control-group">
                        <label class="control-label" for="txtNomeCompleto">
                            Período</label>
                        <div class="controls">
                            <asp:DropDownList ID="ddlPeriodo" runat="server">
                                <asp:ListItem Text="Matutino" Value="Matutino"></asp:ListItem>
                                <asp:ListItem Text="Vespertino" Value="Vespertino"></asp:ListItem>
                                <asp:ListItem Text="Noturno" Value="Noturno"></asp:ListItem>
                                <asp:ListItem Text="Integral" Value="Integral"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                        <!-- /controls -->
                    </div>

                    <div class="control-group">
                        <label class="control-label" for="txtNomeCompleto">
                            Semestre de Início</label>
                        <div class="controls">
                            <asp:DropDownList ID="ddlSemestreInicio" runat="server">
                                <asp:ListItem Text="1º em/2014" Value="1 sem/2014"></asp:ListItem>
                                <asp:ListItem Text="2º sem/2014" Value="2 sem/2014"></asp:ListItem>
                                <asp:ListItem Text="1º sem/2015" Value="1 sem/2015"></asp:ListItem>
                                <asp:ListItem Text="2º sem/2015" Value="2 sem/2015"></asp:ListItem>
                                <asp:ListItem Text="1º sem/2016" Value="1 sem/2016"></asp:ListItem>
                                <asp:ListItem Text="2º sem/2016" Value="2 sem/2016"></asp:ListItem>

                            </asp:DropDownList>
                        </div>
                        <!-- /controls -->
                    </div>

                    <br />
                    <br />
                    <asp:Button ID="btnContinuar" CssClass="btn btn-primary btnSalvar" runat="server"
                        Text="Continuar" OnClick="btnContinuar_Click" />
                    <asp:Button ID="btnVoltar" CssClass="btn btn-primary btnSalvar" PostBackUrl="~/Pages/Turmas.aspx" runat="server"
                        Text="Voltar" />
                </fieldset>
            </div>
        </div>
    </form>
</asp:Content>
